a = input()
print(a)
m = len(a) // 2
print(m)
s1 = a[:m]
s2 = a[m:]
print(s1)
print(s2)